package com.badger.consul.openfeign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @EnableFeignClients 开启feign的客户端
 * @author liqi
 */
@SpringBootApplication
@EnableFeignClients
@EnableDiscoveryClient
public class ConsulOpenfeignApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(ConsulOpenfeignApplication.class, args);
    }

}
